package xyz.yjc.websocket;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@SpringBootApplication
public class WebsocketApplication {

	@RequestMapping("index")
	public String index(){
		return "index";
	}

	@RequestMapping("index2")
	public String index2(){
		return "index2";
	}

	@RequestMapping("index3")
	public String index3(){
		return "index3";
	}

	@RequestMapping("index4")
	public String index4(){
		return "index4";
	}

	public static void main(String[] args) {
		SpringApplication.run(WebsocketApplication.class, args);
	}
}
